package com.group3.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ls_payment")
public class Payment {
    @TableId(type = IdType.AUTO)
    @IsAutoIncrement
    @Column(comment = "支付id")
    Integer id;
    @Column(comment = "订单id")
    Integer oid;
    @Column(comment = "用户id")
    Integer uid;
    @Column(comment = "用户名")
    String username;
    @Column(comment = "商品id")
    Integer pid;
    @Column(comment = "商品名称")
    String pname;
    @Column(comment = "商品单价")
    Double pprice;
    @Column(comment = "支付金额")
    Double total;
    @Column(comment = "购买数量")
    Integer number;
    @Column(comment = "支付状态")
    Integer status;

}
